package org.jeecg.qis.service;

import org.jeecg.qis.entity.QisSpcdetailCfg;
import org.jeecg.qis.entity.QisSpcheadCfg;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 质控点配置
 * @Author: LiCY
 * @Date:   2023-06-28
 * @Version: V1.0
 */
public interface IQisSpcheadCfgService extends IService<QisSpcheadCfg> {

	/**
	 * 添加一对多
	 *
	 * @param qisSpcheadCfg
	 * @param qisSpcdetailCfgList
	 */
	public void saveMain(QisSpcheadCfg qisSpcheadCfg,List<QisSpcdetailCfg> qisSpcdetailCfgList) ;
	
	/**
	 * 修改一对多
	 *
   * @param qisSpcheadCfg
   * @param qisSpcdetailCfgList
	 */
	public void updateMain(QisSpcheadCfg qisSpcheadCfg,List<QisSpcdetailCfg> qisSpcdetailCfgList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
